package org.suk.dp.visitor;

import java.text.MessageFormat;

/**
 * Description: <br/>
 * @version V1.0  2017/6/22 16:37  by 石冬冬(dongdong.shi@ucarinc.com) - Heil Hitler
 */
public class Failure extends Action {
    @Override
    public String getName() {
        return "失败";
    }

    @Override
    public void getManConclusion(Man man) {
        System.out.println(MessageFormat.format("{0}{1}时，闷头喝酒，谁也不用劝。",man.getName(),this.getName()));
    }

    @Override
    public void getWomanConclusion(Woman woman) {
        System.out.println(MessageFormat.format("{0}{1}时，眼泪汪汪，谁也劝不了。",woman.getName(),this.getName()));
    }
}
